[INFO] fetching crate stm32-hal2 1.5.5...
[INFO] checking stm32-hal2-1.5.5 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate stm32-hal2 1.5.5 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate stm32-hal2 1.5.5 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate stm32-hal2 1.5.5
[INFO] finished tweaking crates.io crate stm32-hal2 1.5.5
[INFO] tweaked toml for crates.io crate stm32-hal2 1.5.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate stm32-hal2 1.5.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.0
[INFO] [stderr]   Downloaded rtic-monotonic v1.0.0
[INFO] [stderr]   Downloaded stm32-usbd v0.6.0
[INFO] [stderr]   Downloaded managed v0.8.0
[INFO] [stderr]   Downloaded smoltcp v0.8.1
[INFO] [stderr]   Downloaded synopsys-usb-otg v0.3.0
[INFO] [stderr]   Downloaded stm32g0 v0.15.1
[INFO] [stderr]   Downloaded stm32f3 v0.15.1
[INFO] [stderr]   Downloaded stm32wl v0.15.1
[INFO] [stderr]   Downloaded stm32f4 v0.15.1
[INFO] [stderr]   Downloaded stm32h7 v0.15.1
[INFO] [stderr]   Downloaded bxcan v0.6.0
[INFO] [stderr]   Downloaded stm32wb v0.15.1
[INFO] [stderr]   Downloaded stm32l5 v0.15.1
[INFO] [stderr]   Downloaded stm32g4 v0.15.1
[INFO] [stderr]   Downloaded stm32l4 v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a492732afbe92b170b9191c8699b97ae490aac486570f62911182b831c73eea
[INFO] running `Command { std: "docker" "start" "-a" "2a492732afbe92b170b9191c8699b97ae490aac486570f62911182b831c73eea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a492732afbe92b170b9191c8699b97ae490aac486570f62911182b831c73eea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a492732afbe92b170b9191c8699b97ae490aac486570f62911182b831c73eea", kill_on_drop: false }`
[INFO] [stdout] 2a492732afbe92b170b9191c8699b97ae490aac486570f62911182b831c73eea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88e55076879bbe167af00110388331c02e613f387fdd115747494f799012f884
[INFO] running `Command { std: "docker" "start" "-a" "88e55076879bbe167af00110388331c02e613f387fdd115747494f799012f884", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling cortex-m v0.7.6
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.6
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking stm32-hal2 v1.5.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`.
[INFO] [stdout]    --> src/lib.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | compile_error!("This crate requires an MCU-specifying feature to be enabled. eg `l552`.");
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`.
[INFO] [stdout]    --> src/lib.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | compile_error!("This crate requires an MCU-specifying feature to be enabled. eg `l552`.");
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]  --> src/adc.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     clocks::Clocks,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 9 |     pac::{self, RCC},
[INFO] [stdout]   |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]   |     |
[INFO] [stdout]   |     could not find `pac` in the crate root
[INFO] [stdout]   |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/crc.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::pac::{crc, CRC, RCC};
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/dac.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dac.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/dfsdm.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 14 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dfsdm.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/dma.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/gpio.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::pac::{self, EXTI, RCC};
[INFO] [stdout]    |            ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |            |
[INFO] [stdout]    |            could not find `pac` in the crate root
[INFO] [stdout]    |            help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/i2c.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 15 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/i2c.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/low_power.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::pac::PWR;
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`
[INFO] [stdout]  --> src/qspi.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{clocks::Clocks, pac::RCC};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^  ^^^ could not find `pac` in the crate root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Clocks` in `clocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/rng.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pac::{RCC, RNG},
[INFO] [stdout]   |     ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/rtc.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::pac::{EXTI, PWR, RCC, RTC};
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`
[INFO] [stdout]  --> src/sai.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{clocks::Clocks, pac::RCC, util::RccPeriph};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^  ^^^ could not find `pac` in the crate root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Clocks` in `clocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/sai.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::pac::sai1 as sai;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/spi.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/timer.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 27 |     instant::Instant,
[INFO] [stdout] 28 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/timer.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/usart.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 12 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/usart.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]  --> src/util.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pac::{self, rcc::RegisterBlock},
[INFO] [stdout]   |     ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     clocks::Clocks,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 8 |     pac::{self, rcc::RegisterBlock},
[INFO] [stdout]   |     ---   ^^^^ no `pac` in the root
[INFO] [stdout]   |     |
[INFO] [stdout]   |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dfsdm.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use crate::pac::dfsdm as dfsdm_p;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dma.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use crate::pac::dma1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dma.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         use crate::pac::DMA1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/flash/non_trustzone.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::pac::FLASH;
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/gpio.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         use crate::pac::dma1 as dma_p;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/gpio.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |         use crate::pac::DMA1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/qspi.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use crate::pac::QUADSPI;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/spi.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use crate::pac::dma1 as dma_p;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/spi.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         use crate::pac::DMA1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/util.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |         use crate::pac::DAC as DAC1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/util.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |         use crate::pac::ADC1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1219:27
[INFO] [stdout]      |
[INFO] [stdout] 1219 |         Port::A => crate::pac::GPIOA::ptr(),
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1220:27
[INFO] [stdout]      |
[INFO] [stdout] 1220 |         Port::B => crate::pac::GPIOB::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1222:27
[INFO] [stdout]      |
[INFO] [stdout] 1222 |         Port::C => crate::pac::GPIOC::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1224:27
[INFO] [stdout]      |
[INFO] [stdout] 1224 |         Port::D => crate::pac::GPIOD::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1233:27
[INFO] [stdout]      |
[INFO] [stdout] 1233 |         Port::E => crate::pac::GPIOE::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1245:27
[INFO] [stdout]      |
[INFO] [stdout] 1245 |         Port::F => crate::pac::GPIOF::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1259:27
[INFO] [stdout]      |
[INFO] [stdout] 1259 |         Port::G => crate::pac::GPIOG::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1271:27
[INFO] [stdout]      |
[INFO] [stdout] 1271 |         Port::H => crate::pac::GPIOH::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p`
[INFO] [stdout]    --> src/sai.rs:988:27
[INFO] [stdout]     |
[INFO] [stdout] 988 |         D: Deref<Target = dma_p::RegisterBlock>,
[INFO] [stdout]     |                           ^^^^^ use of undeclared crate or module `dma_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p`
[INFO] [stdout]     --> src/sai.rs:1077:27
[INFO] [stdout]      |
[INFO] [stdout] 1077 |         D: Deref<Target = dma_p::RegisterBlock>,
[INFO] [stdout]      |                           ^^^^^ use of undeclared crate or module `dma_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]  --> src/adc.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     clocks::Clocks,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 9 |     pac::{self, RCC},
[INFO] [stdout]   |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]   |     |
[INFO] [stdout]   |     could not find `pac` in the crate root
[INFO] [stdout]   |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/crc.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::pac::{crc, CRC, RCC};
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/dac.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dac.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/dfsdm.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 14 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dfsdm.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/dma.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/gpio.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::pac::{self, EXTI, RCC};
[INFO] [stdout]    |            ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |            |
[INFO] [stdout]    |            could not find `pac` in the crate root
[INFO] [stdout]    |            help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/i2c.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 15 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/i2c.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/low_power.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::pac::PWR;
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`
[INFO] [stdout]  --> src/qspi.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{clocks::Clocks, pac::RCC};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^  ^^^ could not find `pac` in the crate root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Clocks` in `clocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/rng.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pac::{RCC, RNG},
[INFO] [stdout]   |     ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/rtc.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::pac::{EXTI, PWR, RCC, RTC};
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`
[INFO] [stdout]  --> src/sai.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{clocks::Clocks, pac::RCC, util::RccPeriph};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^  ^^^ could not find `pac` in the crate root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Clocks` in `clocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/sai.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::pac::sai1 as sai;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/spi.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/timer.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 27 |     instant::Instant,
[INFO] [stdout] 28 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac`
[INFO] [stdout]    --> src/lib.rs:591:34
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let dbgmcu = unsafe { &(*pac::DBGMCU::ptr()) };
[INFO] [stdout]     |                                  ^^^ use of undeclared crate or module `pac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/timer.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac`
[INFO] [stdout]   --> src/usart.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     clocks::Clocks,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 12 |     pac::{self, RCC},
[INFO] [stdout]    |     ^^^   ^^^^ no `pac` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `pac` in the crate root
[INFO] [stdout]    |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/usart.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::pac::DMA1;
[INFO] [stdout]    |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac`
[INFO] [stdout]    --> src/lib.rs:612:31
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let rcc = unsafe { &(*pac::RCC::ptr()) };
[INFO] [stdout]     |                               ^^^ use of undeclared crate or module `pac`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let rcc = unsafe { &(*dac::RCC::ptr()) };
[INFO] [stdout]     |                               ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]  --> src/util.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pac::{self, rcc::RegisterBlock},
[INFO] [stdout]   |     ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     clocks::Clocks,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Clocks` in `clocks`
[INFO] [stdout] 8 |     pac::{self, rcc::RegisterBlock},
[INFO] [stdout]   |     ---   ^^^^ no `pac` in the root
[INFO] [stdout]   |     |
[INFO] [stdout]   |     help: a similar name exists in the module: `dac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dfsdm.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use crate::pac::dfsdm as dfsdm_p;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dma.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use crate::pac::dma1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `asm`, `delay::Delay`, `interrupt::free`
[INFO] [stdout]  --> src/adc.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cortex_m::{asm, delay::Delay, interrupt::free};
[INFO] [stdout]   |                ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/dma.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         use crate::pac::DMA1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr`
[INFO] [stdout]  --> src/adc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::ptr;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]  --> src/flash/non_trustzone.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::pac::FLASH;
[INFO] [stdout]   |            ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/gpio.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         use crate::pac::dma1 as dma_p;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::rcc_en_reset`
[INFO] [stdout]   --> src/adc.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     util::rcc_en_reset,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/gpio.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |         use crate::pac::DMA1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `paste::paste`
[INFO] [stdout]   --> src/adc.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use paste::paste;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/qspi.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use crate::pac::QUADSPI;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/spi.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         use crate::pac::dma1 as dma_p;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChannelCfg`, `DmaChannel`, `self`
[INFO] [stdout]   --> src/adc.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::dma::{self, ChannelCfg, DmaChannel};
[INFO] [stdout]    |                  ^^^^  ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/spi.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |         use crate::pac::DMA1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/util.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |         use crate::pac::DAC as DAC1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::pac`
[INFO] [stdout]   --> src/util.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |         use crate::pac::ADC1;
[INFO] [stdout]    |                    ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `hal`
[INFO] [stdout]    --> src/adc.rs:276:14
[INFO] [stdout]     |
[INFO] [stdout] 276 | macro_rules! hal {
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `paste::paste`
[INFO] [stdout]   --> src/dma.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use paste::paste;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `make_chan_struct`
[INFO] [stdout]     --> src/dma.rs:1849:14
[INFO] [stdout]      |
[INFO] [stdout] 1849 | macro_rules! make_chan_struct {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Deref`
[INFO] [stdout]   --> src/gpio.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use core::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cfg_if::cfg_if`
[INFO] [stdout]   --> src/i2c.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use cfg_if::cfg_if;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1219:27
[INFO] [stdout]      |
[INFO] [stdout] 1219 |         Port::A => crate::pac::GPIOA::ptr(),
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1220:27
[INFO] [stdout]      |
[INFO] [stdout] 1220 |         Port::B => crate::pac::GPIOB::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1222:27
[INFO] [stdout]      |
[INFO] [stdout] 1222 |         Port::C => crate::pac::GPIOC::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1224:27
[INFO] [stdout]      |
[INFO] [stdout] 1224 |         Port::D => crate::pac::GPIOD::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1233:27
[INFO] [stdout]      |
[INFO] [stdout] 1233 |         Port::E => crate::pac::GPIOE::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1245:27
[INFO] [stdout]      |
[INFO] [stdout] 1245 |         Port::F => crate::pac::GPIOF::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1259:27
[INFO] [stdout]      |
[INFO] [stdout] 1259 |         Port::G => crate::pac::GPIOG::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root
[INFO] [stdout]     --> src/gpio.rs:1271:27
[INFO] [stdout]      |
[INFO] [stdout] 1271 |         Port::H => crate::pac::GPIOH::ptr() as _,
[INFO] [stdout]      |                           ^^^ could not find `pac` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p`
[INFO] [stdout]    --> src/sai.rs:988:27
[INFO] [stdout]     |
[INFO] [stdout] 988 |         D: Deref<Target = dma_p::RegisterBlock>,
[INFO] [stdout]     |                           ^^^^^ use of undeclared crate or module `dma_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p`
[INFO] [stdout]     --> src/sai.rs:1077:27
[INFO] [stdout]      |
[INFO] [stdout] 1077 |         D: Deref<Target = dma_p::RegisterBlock>,
[INFO] [stdout]      |                           ^^^^^ use of undeclared crate or module `dma_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac`
[INFO] [stdout]    --> src/lib.rs:591:34
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let dbgmcu = unsafe { &(*pac::DBGMCU::ptr()) };
[INFO] [stdout]     |                                  ^^^ use of undeclared crate or module `pac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac`
[INFO] [stdout]    --> src/lib.rs:612:31
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let rcc = unsafe { &(*pac::RCC::ptr()) };
[INFO] [stdout]     |                               ^^^ use of undeclared crate or module `pac`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 612 |         let rcc = unsafe { &(*dac::RCC::ptr()) };
[INFO] [stdout]     |                               ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `asm`, `delay::Delay`, `interrupt::free`
[INFO] [stdout]  --> src/adc.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cortex_m::{asm, delay::Delay, interrupt::free};
[INFO] [stdout]   |                ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr`
[INFO] [stdout]  --> src/adc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::ptr;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::rcc_en_reset`
[INFO] [stdout]   --> src/adc.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     util::rcc_en_reset,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `paste::paste`
[INFO] [stdout]   --> src/adc.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use paste::paste;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChannelCfg`, `DmaChannel`, `self`
[INFO] [stdout]   --> src/adc.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::dma::{self, ChannelCfg, DmaChannel};
[INFO] [stdout]    |                  ^^^^  ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `hal`
[INFO] [stdout]    --> src/adc.rs:276:14
[INFO] [stdout]     |
[INFO] [stdout] 276 | macro_rules! hal {
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `paste::paste`
[INFO] [stdout]   --> src/dma.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use paste::paste;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `make_chan_struct`
[INFO] [stdout]     --> src/dma.rs:1849:14
[INFO] [stdout]      |
[INFO] [stdout] 1849 | macro_rules! make_chan_struct {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Deref`
[INFO] [stdout]   --> src/gpio.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use core::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cfg_if::cfg_if`
[INFO] [stdout]   --> src/i2c.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use cfg_if::cfg_if;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_dir`
[INFO] [stdout]      |             other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `set_input_capture`
[INFO] [stdout]      |               other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1969 |   cc_4_channels!(TIM1, u16);
[INFO] [stdout]      |   ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_output_compare`
[INFO] [stdout]      |             other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_duty`
[INFO] [stdout]      |             other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_duty`
[INFO] [stdout]      |             other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment`
[INFO] [stdout]     --> src/timer.rs:1210:13
[INFO] [stdout]      |
[INFO] [stdout] 1210 |             pub fn set_alignment(&mut self, alignment: Alignment) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_alignment`
[INFO] [stdout]      |             other definition for `set_alignment`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_polarity`
[INFO] [stdout]      |             other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_complementary_polarity`
[INFO] [stdout]      |             other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_capture_compare`
[INFO] [stdout]      |             other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_capture_compare`
[INFO] [stdout]      |             other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_output`
[INFO] [stdout]      |             other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_input`
[INFO] [stdout]      |             other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_preload`
[INFO] [stdout]      |             other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_dir`
[INFO] [stdout]      |             other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `set_input_capture`
[INFO] [stdout]      |               other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1969 |   cc_4_channels!(TIM1, u16);
[INFO] [stdout]      |   ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_output_compare`
[INFO] [stdout]      |             other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_duty`
[INFO] [stdout]      |             other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_duty`
[INFO] [stdout]      |             other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment`
[INFO] [stdout]     --> src/timer.rs:1210:13
[INFO] [stdout]      |
[INFO] [stdout] 1210 |             pub fn set_alignment(&mut self, alignment: Alignment) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_alignment`
[INFO] [stdout]      |             other definition for `set_alignment`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_polarity`
[INFO] [stdout]      |             other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_complementary_polarity`
[INFO] [stdout]      |             other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_capture_compare`
[INFO] [stdout]      |             other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_capture_compare`
[INFO] [stdout]      |             other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_output`
[INFO] [stdout]      |             other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_input`
[INFO] [stdout]      |             other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_preload`
[INFO] [stdout]      |             other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_dir`
[INFO] [stdout]      |             other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `set_input_capture`
[INFO] [stdout]      |               other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1969 |   cc_4_channels!(TIM1, u16);
[INFO] [stdout]      |   ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_output_compare`
[INFO] [stdout]      |             other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_duty`
[INFO] [stdout]      |             other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_duty`
[INFO] [stdout]      |             other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment`
[INFO] [stdout]     --> src/timer.rs:1210:13
[INFO] [stdout]      |
[INFO] [stdout] 1210 |             pub fn set_alignment(&mut self, alignment: Alignment) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_alignment`
[INFO] [stdout]      |             other definition for `set_alignment`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_polarity`
[INFO] [stdout]      |             other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_complementary_polarity`
[INFO] [stdout]      |             other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_capture_compare`
[INFO] [stdout]      |             other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_capture_compare`
[INFO] [stdout]      |             other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_output`
[INFO] [stdout]      |             other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_input`
[INFO] [stdout]      |             other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_preload`
[INFO] [stdout]      |             other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1969 |   cc_4_channels!(TIM1, u16);
[INFO] [stdout]      |   ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1969 |   cc_4_channels!(TIM1, u16);
[INFO] [stdout]      |   ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1969 |   cc_4_channels!(TIM1, u16);
[INFO] [stdout]      |   ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1969 | cc_4_channels!(TIM1, u16);
[INFO] [stdout]      | ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |           make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1982 |         make_timer!(TIM2, tim2, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_dir`
[INFO] [stdout]      |             other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `set_input_capture`
[INFO] [stdout]      |               other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |           cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_output_compare`
[INFO] [stdout]      |             other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_duty`
[INFO] [stdout]      |             other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_duty`
[INFO] [stdout]      |             other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment`
[INFO] [stdout]     --> src/timer.rs:1210:13
[INFO] [stdout]      |
[INFO] [stdout] 1210 |             pub fn set_alignment(&mut self, alignment: Alignment) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_alignment`
[INFO] [stdout]      |             other definition for `set_alignment`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_polarity`
[INFO] [stdout]      |             other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_complementary_polarity`
[INFO] [stdout]      |             other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_capture_compare`
[INFO] [stdout]      |             other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_capture_compare`
[INFO] [stdout]      |             other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_output`
[INFO] [stdout]      |             other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_input`
[INFO] [stdout]      |             other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_preload`
[INFO] [stdout]      |             other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_dir`
[INFO] [stdout]      |             other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `set_input_capture`
[INFO] [stdout]      |               other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |           cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_output_compare`
[INFO] [stdout]      |             other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_duty`
[INFO] [stdout]      |             other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_duty`
[INFO] [stdout]      |             other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment`
[INFO] [stdout]     --> src/timer.rs:1210:13
[INFO] [stdout]      |
[INFO] [stdout] 1210 |             pub fn set_alignment(&mut self, alignment: Alignment) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_alignment`
[INFO] [stdout]      |             other definition for `set_alignment`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_polarity`
[INFO] [stdout]      |             other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_complementary_polarity`
[INFO] [stdout]      |             other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_capture_compare`
[INFO] [stdout]      |             other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_capture_compare`
[INFO] [stdout]      |             other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_output`
[INFO] [stdout]      |             other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_input`
[INFO] [stdout]      |             other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_preload`
[INFO] [stdout]      |             other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |           cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |           cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |           cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1983 |         cc_4_channels!(TIM2, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |           make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 2000 |         make_timer!(TIM3, tim3, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_dir`
[INFO] [stdout]      |             other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `set_input_capture`
[INFO] [stdout]      |               other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |           cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_output_compare`
[INFO] [stdout]      |             other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_duty`
[INFO] [stdout]      |             other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_duty`
[INFO] [stdout]      |             other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment`
[INFO] [stdout]     --> src/timer.rs:1210:13
[INFO] [stdout]      |
[INFO] [stdout] 1210 |             pub fn set_alignment(&mut self, alignment: Alignment) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_alignment`
[INFO] [stdout]      |             other definition for `set_alignment`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_polarity`
[INFO] [stdout]      |             other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_complementary_polarity`
[INFO] [stdout]      |             other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_capture_compare`
[INFO] [stdout]      |             other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_capture_compare`
[INFO] [stdout]      |             other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_output`
[INFO] [stdout]      |             other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_capture_compare_input`
[INFO] [stdout]      |             other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_preload`
[INFO] [stdout]      |             other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |           cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |           cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir`
[INFO] [stdout]     --> src/timer.rs:964:13
[INFO] [stdout]      |
[INFO] [stdout] 964  |             pub fn set_dir(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 1590 |             fn set_dir(&mut self) {} // N/A with these 1-channel timers.
[INFO] [stdout]      |             --------------------- other definition for `set_dir`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_input_capture`
[INFO] [stdout]     --> src/timer.rs:974:13
[INFO] [stdout]      |
[INFO] [stdout] 974  | /             pub fn set_input_capture(
[INFO] [stdout] 975  | |                 &mut self,
[INFO] [stdout] 976  | |                 channel: TimChannel,
[INFO] [stdout] 977  | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 981  | |                 ccnp: Polarity,
[INFO] [stdout] 982  | |             ) {
[INFO] [stdout]      | |_____________^ duplicate definitions for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 1599 | /             pub fn set_input_capture(
[INFO] [stdout] 1600 | |                 &mut self,
[INFO] [stdout] 1601 | |                 channel: TimChannel,
[INFO] [stdout] 1602 | |                 mode: CaptureCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 1606 | |                 ccnp: Polarity,
[INFO] [stdout] 1607 | |             ) {
[INFO] [stdout]      | |_____________- other definition for `set_input_capture`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |           cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |           ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 1966 |   make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      |   ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare`
[INFO] [stdout]     --> src/timer.rs:1092:13
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1637 |             pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------ other definition for `set_output_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty`
[INFO] [stdout]     --> src/timer.rs:1131:13
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1655 |             pub fn get_duty(&self, channel: TimChannel) -> $res {
[INFO] [stdout]      |             --------------------------------------------------- other definition for `get_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty`
[INFO] [stdout]     --> src/timer.rs:1163:13
[INFO] [stdout]      |
[INFO] [stdout] 1163 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 1680 |             pub fn set_duty(&mut self, channel: TimChannel, duty: $res) {
[INFO] [stdout]      |             ----------------------------------------------------------- other definition for `set_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity`
[INFO] [stdout]     --> src/timer.rs:1216:13
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1707 |             pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ----------------------------------------------------------------------- other definition for `set_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity`
[INFO] [stdout]     --> src/timer.rs:1227:13
[INFO] [stdout]      |
[INFO] [stdout] 1227 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 1715 |             pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) {
[INFO] [stdout]      |             ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1239:13
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1722 |             pub fn disable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             -------------------------------------------------------------- other definition for `disable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare`
[INFO] [stdout]     --> src/timer.rs:1250:13
[INFO] [stdout]      |
[INFO] [stdout] 1250 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 1730 |             pub fn enable_capture_compare(&mut self, channel: TimChannel) {
[INFO] [stdout]      |             ------------------------------------------------------------- other definition for `enable_capture_compare`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_output`
[INFO] [stdout]     --> src/timer.rs:1261:13
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 1738 |             pub fn set_capture_compare_output(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             --------------------------------------------------------------------------------------- other definition for `set_capture_compare_output`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare_input`
[INFO] [stdout]     --> src/timer.rs:1287:13
[INFO] [stdout]      |
[INFO] [stdout] 1287 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 1751 |             pub fn set_capture_compare_input(&mut self, channel: TimChannel, mode: CaptureCompare) {
[INFO] [stdout]      |             -------------------------------------------------------------------------------------- other definition for `set_capture_compare_input`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload`
[INFO] [stdout]     --> src/timer.rs:1325:13
[INFO] [stdout]      |
[INFO] [stdout] 1325 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 1776 |             pub fn set_preload(&mut self, channel: TimChannel, value: bool) {
[INFO] [stdout]      |             --------------------------------------------------------------- other definition for `set_preload`
[INFO] [stdout] ...
[INFO] [stdout] 2001 |         cc_4_channels!(TIM3, u32);
[INFO] [stdout]      |         ------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_count`
[INFO] [stdout]     --> src/timer.rs:607:13
[INFO] [stdout]      |
[INFO] [stdout] 607  |             pub fn read_count(&self) -> u32 {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `read_count`
[INFO] [stdout]      |             other definition for `read_count`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output`
[INFO] [stdout]     --> src/timer.rs:616:13
[INFO] [stdout]      |
[INFO] [stdout] 616  | /             pub fn enable_pwm_output(
[INFO] [stdout] 617  | |                 &mut self,
[INFO] [stdout] 618  | |                 channel: TimChannel,
[INFO] [stdout] 619  | |                 compare: OutputCompare,
[INFO] [stdout] ...    |
[INFO] [stdout] 622  | |                 duty: f32,
[INFO] [stdout] 623  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `enable_pwm_output`
[INFO] [stdout]      |               other definition for `enable_pwm_output`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |           make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty`
[INFO] [stdout]     --> src/timer.rs:632:13
[INFO] [stdout]      |
[INFO] [stdout] 632  |             pub fn get_max_duty(&self) -> $res {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_max_duty`
[INFO] [stdout]      |             other definition for `get_max_duty`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `write_dma_burst`
[INFO] [stdout]     --> src/timer.rs:646:13
[INFO] [stdout]      |
[INFO] [stdout] 646  | /             pub unsafe fn write_dma_burst(
[INFO] [stdout] 647  | |                 &mut self,
[INFO] [stdout] 648  | |                 buf: &[u16],
[INFO] [stdout] 649  | |                 base_address: u8,
[INFO] [stdout] ...    |
[INFO] [stdout] 654  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 655  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `write_dma_burst`
[INFO] [stdout]      |               other definition for `write_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |           make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `read_dma_burst`
[INFO] [stdout]     --> src/timer.rs:765:13
[INFO] [stdout]      |
[INFO] [stdout] 765  | /             pub unsafe fn read_dma_burst(
[INFO] [stdout] 766  | |                 // todo: Experimenting with input capture.
[INFO] [stdout] 767  | |                 &mut self,
[INFO] [stdout] 768  | |                 buf: &[u16],
[INFO] [stdout] ...    |
[INFO] [stdout] 774  | |                 dma_periph: dma::DmaPeriph,
[INFO] [stdout] 775  | |             ) {
[INFO] [stdout]      | |             ^
[INFO] [stdout]      | |             |
[INFO] [stdout]      | |_____________duplicate definitions for `read_dma_burst`
[INFO] [stdout]      |               other definition for `read_dma_burst`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |           make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |           ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `time_elapsed`
[INFO] [stdout]     --> src/timer.rs:837:13
[INFO] [stdout]      |
[INFO] [stdout] 837  |             pub fn time_elapsed(&mut self) -> Instant {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `time_elapsed`
[INFO] [stdout]      |             other definition for `time_elapsed`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `get_uif`
[INFO] [stdout]     --> src/timer.rs:579:13
[INFO] [stdout]      |
[INFO] [stdout] 579  |             pub fn get_uif(&self ) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `get_uif`
[INFO] [stdout]      |             other definition for `get_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt`
[INFO] [stdout]     --> src/timer.rs:440:13
[INFO] [stdout]      |
[INFO] [stdout] 440  |             pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable_interrupt`
[INFO] [stdout]      |             other definition for `enable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt`
[INFO] [stdout]     --> src/timer.rs:461:13
[INFO] [stdout]      |
[INFO] [stdout] 461  |             pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable_interrupt`
[INFO] [stdout]      |             other definition for `disable_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt`
[INFO] [stdout]     --> src/timer.rs:486:13
[INFO] [stdout]      |
[INFO] [stdout] 486  |             pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_interrupt`
[INFO] [stdout]      |             other definition for `clear_interrupt`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `clear_uif`
[INFO] [stdout]     --> src/timer.rs:583:13
[INFO] [stdout]      |
[INFO] [stdout] 583  |             pub fn clear_uif(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `clear_uif`
[INFO] [stdout]      |             other definition for `clear_uif`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `enable`
[INFO] [stdout]     --> src/timer.rs:511:13
[INFO] [stdout]      |
[INFO] [stdout] 511  |             pub fn enable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `enable`
[INFO] [stdout]      |             other definition for `enable`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize`
[INFO] [stdout]     --> src/timer.rs:601:13
[INFO] [stdout]      |
[INFO] [stdout] 601  |             pub fn reinitialize(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reinitialize`
[INFO] [stdout]      |             other definition for `reinitialize`
[INFO] [stdout] ...
[INFO] [stdout] 1966 | make_timer!(TIM1, tim1, 2, u16);
[INFO] [stdout]      | ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `disable`
[INFO] [stdout]     --> src/timer.rs:516:13
[INFO] [stdout]      |
[INFO] [stdout] 516  |             pub fn disable(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `disable`
[INFO] [stdout]      |             other definition for `disable`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled`
[INFO] [stdout]     --> src/timer.rs:521:13
[INFO] [stdout]      |
[INFO] [stdout] 521  |             pub fn is_enabled(&self) -> bool {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `is_enabled`
[INFO] [stdout]      |             other definition for `is_enabled`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq`
[INFO] [stdout]     --> src/timer.rs:527:13
[INFO] [stdout]      |
[INFO] [stdout] 527  |             pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_freq`
[INFO] [stdout]      |             other definition for `set_freq`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_period`
[INFO] [stdout]     --> src/timer.rs:555:13
[INFO] [stdout]      |
[INFO] [stdout] 555  |             pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_period`
[INFO] [stdout]      |             other definition for `set_period`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload`
[INFO] [stdout]     --> src/timer.rs:561:13
[INFO] [stdout]      |
[INFO] [stdout] 561  |             pub fn set_auto_reload(&mut self, arr: u32) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_auto_reload`
[INFO] [stdout]      |             other definition for `set_auto_reload`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler`
[INFO] [stdout]     --> src/timer.rs:568:13
[INFO] [stdout]      |
[INFO] [stdout] 568  |             pub fn set_prescaler(&mut self, psc: u16) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `set_prescaler`
[INFO] [stdout]      |             other definition for `set_prescaler`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0592]: duplicate definitions with name `reset_count`
[INFO] [stdout]     --> src/timer.rs:573:13
[INFO] [stdout]      |
[INFO] [stdout] 573  |             pub fn reset_count(&mut self) {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             duplicate definitions for `reset_count`
[INFO] [stdout]      |             other definition for `reset_count`
[INFO] [stdout] ...
[INFO] [stdout] 2019 |         make_timer!(TIM4, tim4, 1, u32);
[INFO] [stdout]      |         ------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[WARN] too many lines in the log, truncating it
